package com.woniuxy.ams.dao;

import com.woniuxy.ams.entity.DailyAssessDetails;
import com.woniuxy.ams.entity.DailyAssessSummarize;

import java.util.List;

public interface DailyAssessDetailsDao {
    /**
     * 新增日考核信息表
     *
     * @param record
     * @return
     */
    int insert(DailyAssessDetails record);

    /**
     * 查询所有日考核表
     */
    List<DailyAssessDetails> findDailyAssessPageAndAll();


    int deleteByPrimaryKey(Integer id);


    int updateByPrimaryKeySelective(DailyAssessDetails dailyAssessDetails);

    int updateByPrimaryKey(DailyAssessDetails record);
    /**
     * 中间表新增
     */
    int insertProjectDetail(DailyAssessDetails dailyAssessDetails);


    List<DailyAssessSummarize> findSummarize(DailyAssessSummarize dailyAssessSummarize);

    int deleteAssessDetail(DailyAssessDetails dailyAssessDetails);

    List<DailyAssessDetails> findAssessDetailFuzzy(DailyAssessDetails dailyAssessDetails);

    DailyAssessDetails findById(int id);

    Integer updateByAssessList(List<DailyAssessDetails> assessList);

    List<DailyAssessDetails> findAlNotCheck();
}
